package com.happy_lab_management.demo.admin.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.happy_lab_management.entity.Technician;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface TechnicianMapper extends BaseMapper<Technician> {
    @Select("select * from technician where user_id=#{userId}")
    Technician selectByUserId(Integer userId);
}
